package com.zixuan.gulicollege.video;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: VideoController
 * @Author: zixuan
 * @Date: 2021/5/12 13:39
 * @Description:
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient // 开启naocs
@EnableFeignClients
@ComponentScan(basePackages = {"com.zixuan.gulicollege"})
public class VideoApplication {
    public static void main(String[] args) {
        SpringApplication.run(VideoApplication.class, args);
        System.out.println("后台服务启动成功(づ￣ 3￣)づ \n" +
                " _   _           _   _____                 _          \n" +
                "| | | |         | | /  ___|               (_)         \n" +
                "| | | | ___   __| | \\ `--.  ___ _ ____   ___  ___ ___ \n" +
                "| | | |/ _ \\ / _` |  `--. \\/ _ \\ '__\\ \\ / / |/ __/ _ \\\n" +
                "\\ \\_/ / (_) | (_| | /\\__/ /  __/ |   \\ V /| | (_|  __/\n" +
                " \\___/ \\___/ \\__,_| \\____/ \\___|_|    \\_/ |_|\\___\\___|\n");
    }
}
